package org.cheniy.infrastructure.persistent.dao;

import org.apache.ibatis.annotations.Mapper;
import org.cheniy.infrastructure.persistent.po.RaffleActivityAccountDay;

/**
 * @author cheniy
 * @description 抽奖活动账户表-日次数
 * @create 2025/3/19 13:51
 */
@Mapper
public interface IRaffleActivityAccountDayDao {
    RaffleActivityAccountDay queryActivityAccountDayByUserId(RaffleActivityAccountDay raffleActivityAccountDayReq);

    int updateActivityAccountDaySubtractionQuota(RaffleActivityAccountDay build);

    void insertActivityAccountDay(RaffleActivityAccountDay build);

    Integer queryRaffleActivityAccountDayPartakeCount(RaffleActivityAccountDay raffleActivityAccountDay);

    void addAccountQuota(RaffleActivityAccountDay raffleActivityAccountDay);
}
